[IA64] Add support to physdev_ops
authorawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Fri, 21 Apr 2006 15:03:19 +0000 (09:03 -0600)
committerawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Fri, 21 Apr 2006 15:03:19 +0000 (09:03 -0600)
commit633da67231ceaa9676f52c83034e3434bdf5c08d
tree28548c9ff52f03c96873352efc3ad8c730517226
parent7b89941a2c2e1d07096fc7fffe48c2a45c446877
[IA64] Add support to physdev_ops

Add support to physdev ops, and thus give IOSAPIC RTEs
managed by Xen now. Dom0 now issues hypercall to r/w
RTE entry. Another change is the irq vector allocation
which is also owned by xen now.

After this change, the IOSAPIC is almost owned by xen
with only exception as IOSAPIC EOI which is still issued
by dom0 directly. But that's OK since currently dom0
owns all external physical devices. Later full event
channel mechanism will provide necessary support for
driver domain, and at that time, dom0 instead issues
physdev_op (PHYSDEVOP_IRQ_UNMASK_NOTIFY) naturally as
replace of IOSAPIC EOI.

Signed-off-by Kevin Tian <kevin.tian@intel.com>
linux-2.6-xen-sparse/arch/ia64/kernel/iosapic.c
linux-2.6-xen-sparse/arch/ia64/kernel/irq_ia64.c
linux-2.6-xen-sparse/include/asm-ia64/iosapic.h
xen/arch/ia64/linux-xen/iosapic.c
xen/arch/ia64/linux-xen/irq_ia64.c
xen/arch/ia64/xen/acpi.c
xen/arch/ia64/xen/hypercall.c
xen/arch/ia64/xen/irq.c
xen/include/asm-ia64/linux-xen/asm/iosapic.h